package com.cn.shiro_jwt_redis.pojo;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName
public class User {

  @TableField(exist = false)
  private Integer userId;
  private String nickName;
  private String userIcon;
  @NotBlank(message = "手机号不能为空")
  private String userPhone;
  private Double userBalance;
  private Double userCumulative;
  
}
